public class overload {
       /* private int triangle;
        private double triangle;
        private float triangle;*/
     /*   public overload(int triangle_A,double triangle_B,float triangle_C){
            this.triangle=triangle_A;
            this.triangle=triangle_B;
            this.triangle=triangle_C;
        }*/
    public int triangle(int bottom,int high){
        int area;
        area= (int) (1.0/2*(bottom*high));
        return area;
    }

   public double triangle(double a,double b,double c,double r){
        double C;
       C = a + b + c;
       double sum = C * (1.0 / 2) * r;
        return sum;
    }
    public float triangleC(float a1,float b1,float c1){
        float p;
        float S;
        p= (float) ((1.0/2)*(a1+b1+c1));
        S= (float) Math.sqrt((p*(p-a1)*(p-b1)*(p-c1)));
        return S;
    }
}


